$('.true').css("width" , "50px");
$('.true').height("39px");

$('.false').css("width" , "16px");
$('.false').height("13px");

$('.creamgolos_yes').mouseover(function(){
   $(this).animate({
      width: 50,
      height: 39
   }, 100, "linear");
   $('.creamgolos_no').animate({
      width: 16,
      height: 13
   }, 100, "linear");
   $('.creamgolostext').text("да");
   $('.creamgolostext').css("color", "red");
});

$('.creamgolos_no').mouseover(function(){
   $(this).animate({
      width: 50,
      height: 39
   }, 100, "linear");
   $('.creamgolos_yes').animate({
      width: 16,
      height: 13
   }, 100, "linear");
   $('.creamgolostext').text("нет");
   $('.creamgolostext').css("color", "#555");
});
/*
creamgolos_no
creamgolos_yes

$("p").animate({
        height:200, width:400, opacity: .5
     }, 1000, "linear", function(){alert("all done");} );
*/

var creammagcarmadiv = $(".creammagCarma1");

for (i = 0; i < creammagcarmadiv.length; i++) {
    var el = $("#" + creammagcarmadiv[i].id);
    el.css("background-position", "0px " + el.attr("alt") + "px");
    el.css("background-image", "url('/img/gray_bcream.png')");
}

$('.pyes').mouseover(function(){
    $('#creammagCarmaid3').animate({
      backgroundPosition:"(0px 0px)"
    }, 100, "linear");
    //$('#creammagCarmaid3').css("background-position", "0px 0px");
});

$('.pno').mouseover(function(){
    $('#creammagCarmaid3').stop().animate(
        {backgroundPosition:"(0px 20px)"},
	{duration:100});
    $('#creammagCarmaid3').css("background-position", "0px 20px");
});
